package com.qunduikj.sjb.sdk.model.enums;

/**
 * Event ID 不可更改！！！
 *
 * @author MaTianyu @http://litesuits.com
 * @date 2015_07_07
 */
public enum MobEvent {
    NetRetry("Net_retry", "点击无网络重试"),
    /*登陆注册*/
    GoToRegister("Go_to_register", "去注册页面"),
    Login("Login", "登录"),
    ForgetPsd("Forget_psd", "去忘记密码页面"),
    SendCode("Send_code", "发送验证码成功"),
    RegisteredSuccess("Registered_success", "注册成功"),
    FindPswSuc("Find_psw_suc", "成功找回密码"),
    GoToUserInfo("Go_to_userinfo", "进入用户资料填写界面"),
    EditUserInfoLater("Edit_userinfo_later", "以后再填用户资料"),
    SubmitUserData("Submit_user_data", "提交用户资料"),

    /*飞鸽界面*/
    SearchFriendInterface("Search_friend_interface", "去搜索好友界面"),
    RefreshAddressBook("Refresh_address_book", "刷新通讯录"),
    OpenPosition("Open_position", "打开定位"),
    Scanning("Scanning", "进入扫描界面"),
    EnterTheNoteInterface("Enter_the_note_interface", "进入备注界面"),
    FreePhone("Free_phone", "免费电话"),
    SystemPhone("System_phone", "系统电话"),
    ScanToOpenOtherLinks("Scan_to_open_other_links", "扫描打开其他链接"),
    AddAsAFriend("Add_as_a_friend", "添加为好友"),
    InvitedToJoinTheVan("Invited_to_join_the_van", "邀请加入货车侠"),
    ViewUserDetails("View_user_details", "查看用户详细信息"),
    OtherPeopleSPosts("Other_people_s_posts", "查看别人的江湖"),
    DeleteFriends("Delete_friends", "删除好友"),
    LongTimeNoResponse("Long_time_no_response", "长时间未响应"),
    MuteOpen("Mute_open", "静音开"),
    MuteOff("Mute_off", "静音关"),
    SpeakerOpen("Speaker_open", "扬声器开"),
    SpeakerOff("Speaker_off", "扬声器关"),
    TurnSystemPhone("Turn_system_phone", "转为系统电话"),
    HangUpThePhone("Hang_up_the_phone", "挂断电话"),
    SearchForSomebody("Search_for_somebody", "搜索某人"),
    ShowAllSearchResults("Show_all_search_results", "显示所有搜索结果"),
    ViewAddressBook("View_address_book", "查看通讯录"),
    ViewAddressBookDetails("View_address_book_details", "查看通讯录详情"),
    PeopleNearby("People_nearby", "附近的人"),
    CheckCallRecords("Check_call_records", "查看通话记录"),
    CheckCallRecordsForDetails("Check_call_records_for_details", "查看通话记录详情"),
    CheckMyFriends("Check_my_friends", "查看我的好友"),
    CheckNewFriends("Check_new_friends", "查看新的好友"),
    EnterFreePhoneInterface("Enter_free_phone_interface", "进入免费电话界面"),
    EnterMutilPhoneInterface("Enter_mutil_phone_interface", "进入多人电话界面"),
    Enter_dial("Enter_dial", "进入拨号盘"),
    DeleteCallRecords("Delete_call_records", "删除通话记录"),
    ImportAddressBook("Import_address_book", "导入通讯录"),
    ViewRecommToYou("View_recomm_to_you", "查看推荐给你"),
    ChangeAGroup("Change_a_group", "换一组"),
    OnAGroup("On_a_group", "上一组(返回)"),
    FillInTheInformation("Fill_in_the_information", "去填写资料(推荐给你界面)"),
    AcceptAFriendRequest("Accept_a_friend_request", "接受好友申请"),
    AnswerThePhone("Answer_the_phone", "接听电话"),
    RefuseToPhone("Refuse_to_phone", "拒绝电话"),
    CheckOtherPeoplePostDetails("Check_other_people_post_details", "查看别人的帖子详情"),
    /*地盘页面*/
    MyScore("My_score", "进入我的积分页面"),
    MySafety("My_safety", "进入安全设置页面"),
    MyFeedBack("My_feedback", "进入意见反馈页面"),
    ContactPer("My_contact_person", "进入联系客服页面"),
    FriendShare("My_friend_share", "朋友分享,增加经验值"),
    VersionUp("My_version_up", "进入版本更新页面"),
    MyGrade("My_grade", "进入我的等级页面"),
    MyShare("My_share", "进入我的分享"),
    MyData("My_data", "进入我的资料页面"),
    ModifyDataSuc("Modify_data_suc", "修改资料成功"),
    CheckGrade("Check_grade", "查看等级榜"),
    ExitLanding("Exit_landing", "退出登录"),
    GoModifyPsw("Go_modify_psw", "去修改密码页面"),
    GoSetting("Go_safety_setting", "去设置页面"),
    ModifyPswSuc("Modify_psw_suc", "修改密码成功~"),
    ModifySettingSuc("Modify_setting", "修改语音播报状态成功~"),
    SubmitComments("Submit_comments", "提交意见"),
    ToUpdate("To_update", "更新"),
    //走镖
    PigeonList("Pigeon_list", "查看信鸽列表"),
    PigeonDetail("pigeon_detail", "查看信鸽详情"),
    PigeonDetailShow("pigeon_detail_show", "信鸽详情立即查看"),
    RouteSet("Route_set", "路线设置"),
    RouteSetConfirm("Route_set_confirm", "路线设置确定"),
    RouteDetail("Route_detail", "进入路线详情页"),
    RouteRecordList("Route_record_list", "进入路线记录列表"),
    RouteStatistics("Route_statistics", "查看更多路线统计"),
    RouteStatisticsSelect("Route_statistics_select", "走镖统计筛选"),
    RouteStatisticsSelectConfirm("Route_statistics_select_confirm", "走镖统计筛选确认"),
    RouteRecordSelect("Route_record_select", "路线记录筛选"),
    RouteSelectConfirm("Route_select_confirm", "路线筛选确定"),
    LookRoute("Look_route", "查看路线详情"),
    LookRecordMoney("Look_record_money", "查看路线运费详情"),
    RecordRouteUpdate("Record_route_update", "修改路线"),
    RecordMoneyUpdate("Record_money_update", "修改运费"),
    RecordRouteArrived("Record_route_arrived", "路线记录详情到达"),
    RouteAddCost("Route_add_cost", "路线详情添加花销"),
    RouteAddCostConfirm("Route_add_cost_confirm", "添加花销确定"),
    RouteOpenClick("Route_open_click", "开启闹钟"),
    CloseClickConfirm("Close_click_confirm", "确定关闭闹钟"),




    /**
     * 江湖
     */
    GoToBanner("Go_to_banner", "首页运营活动"),
    GoToMark("Go_to_mark", "标记"),
    GoToRoad("Go_to_road", "路况"),
    GoToReward("Go_to_reward", "重金悬赏"),
    GoToTeashop("Go_to_teashop", "龙门茶馆"),
    GoToCarRepair("Go_to_car_repair", "爱驹保养"),
    GoToConvert("Go_to_convert", "积分兑换"),
    GoToSigned("Go_to_sign", "每日签到"),
    GoToOperate("Go_to_operate", "运营活动"),
    GoToGame("Go_to_game", "好玩游戏"),


    /*
     * 标记
     */
    MarkBanner("Mark_banner", "标记运营活动"),
    MarkLocation("Mark_location", "标记定位"),
    MarkMark("Mark_mark", "标记功能"),
    MarkSubmit("Mark_submit", "提交标记"),

    /*
     * 路况
     */
    RoadBanner("Road_banner", "路况运营活动"),
    RoadSubmit("Road_submit", "提交路况"),

    /*
     * 重金悬赏
     */
    RewardClearTip("Reward_clear_tip", "取消重金悬赏的提示"),
    RewardParamSelect("Reward_param_select", "重金悬赏的帖子条件筛选"),
    RewardSelectItemPost("Reward_select_item_post", "重金悬赏点击具体帖子列表项"),
    RewardSelectSubmit("Reward_select_submit", "重金悬赏点击选择发帖子按钮"),
    RewardSubmit("Reward_submit", "重金帖子提交"),
    RewardDeletePost("Reward_delete_post", "重金帖子删除"),
    RewardContact("Reward_post_contact", "重金帖子打联系电话"),
    RewardInvalidPost("Reward_post_Invalid", "重金帖子设置为无效"),


    /*
     * 龙门茶馆
     */
    TeashopItemPost("Teashop_select_item_post", "龙门茶馆点击帖子列表项"),
    TeashopPraisePost("Teashop_praise_post", "龙门茶馆帖子打赏"),
    TeashopDeletePost("Reward_delete_post", "龙门茶馆帖子删除"),
    GoToMyTeashopPostList("Go_to_my_teashop_list", "我的龙门茶馆帖子列表"),
    GoToSendTeashopPost("Go_to_send_teashop_post", "去龙门茶馆发帖页面"),
    TeashopVoicePostPlay("Teashop_voice_post_play", "龙门茶馆帖子播放"),
    TeashopPostSubmit("Teashop_post_submit", "龙门茶馆提交帖子"),

    /*
     * 爱驹保养
     */
    GoCarRepairListItemDetail("Go_to_item_car_repair_detail", "爱驹保养帖子详情页"),

    /*
     * 签到
     */
    SignSubmit("Sign_submit", "签到"),
    /*
     * 运营活动
     */
    OperateItemDetail("Operate_item_detail", "运营活动列表详情"),

    /*
     *  游戏
     */
    GameStart("Game_start", "启动游戏"),
    GameDownLoad("Game_down_load", "下载游戏"),
    GoToGameRecordHome("Go_to_game_record_home", "游戏记录"),
    GameRecord("Game_record", "按条件筛选游戏记录"),
    GameInviteCardFriend("Game_invite_card_friend", "提交邀请牌友"),

    /*
     *  v11
     */
    WriteAPen("Write_a_pen", "首页记一笔"),
    TaskListH5("Task_list_h5", "首页新手任务"),
    AccountIndex("Account_index", "首页记账本"),
    PigeonEdit("Pigeon_edit", "信鸽编辑按钮"),
    PigeonEditDel("Pigeon_edit_del", "信鸽选择删除按钮"),
    PigeonEditReaded("Pigeon_edit_readed", "信鸽标记全部已读"),
    RecordSetMonth("Record_set_month", "走镖设置月结按钮"),
    RecordSetTicket("Record_set_ticket", "走镖设置票结按钮"),
    RecordSetSuccess("Record_set_success", "路线设置成功确定按钮"),
    AnswerQuestionH5("Answer_question_h5", "路线设置完成开始答题"),
    DialogAnswerClose("Dialog_answer_close", "开始答题关闭弹窗按钮"),

    /*
     *   v11 走镖新增的走镖相关的统计
     */
    GoToRecordSearch("Go_to_record_search", "启动走镖路线搜索"),
    RecordLineSearch("Record_line_search", "走镖路线搜索"),

    GoToRecordFreight("Go_to_record_freight","启动运费收回页面"),
    RouteAddFreight("Route_add_freight", "运费收回添加"),
    RouteDelFreight("Route_del_freight", "运费收回删除"),

    /*
     *  v11 WY借出款处
     */
    MyInviteList("My_invite_list", "进入我的邀请列表页"),
    LoanDetail("Loan_detail","进入借款详情页"),
    LoanDetailSureBtn("Loan_detail_sure_btn","借款详情页编辑取消按钮"),
    LoadLoanDetail("Load_loan_detail","借款详情信息接口"),
    ModifyLoanDetail("Modify_loan_detail","修改借款详情信息接口"),
    DelLoanDetail("Del_loan_detail","删除借款详情信息接口"),
    KeyboardShow("Keyboard_show","自定义键盘显示"),
    LoanComment("Loan_comnent","借出款备注"),
    GoLoanBackDetail("Go_loan_back_detail","去借款收回页面"),
    LoadLoanDetailList("Load_loan_detail_list","加载借出款列表"),
    DelLoanDetailList("Del_loan_detail_list","删除借出款列表"),
    LoanBack("Loan_back","借款收回"),
    MineShare("Mine_share", "朋友分享"),

    /**
     * 记账本
     */
    AccountWritePen("Account_write_pen", "记一笔"),
    AccountIncome("Account_income", "收入"),
    AccountCost("Account_cost", "花销"),
    AccountLoan("Account_loan", "借出款"),
    AccountDetail("Account_detail", "记账明细"),
    AccountMonth("Account_month", "月账单"),
    AccountIncomeDetailEdit("Account_income_detail_edit", "收入详情编辑"),
    AccountIncomeDetailDel("Account_income_detail_del", "收入详情删除"),



    /*
     *   v11 记一笔
     */
    SwitchingCost("Switching_cost","切换花销"),
    SwitchingIncome("Switching_income","切换收入"),
    SwitchOutTheLoan("Switch_out_the_loan","切换借出款"),
    AddCost("Add_cost","添加花销"),
    AddIncome("Add_income","添加收入"),
    AddALoan("Add_a_loan","添加借出款"),
    EnterTheAccountInterface("Enter_the_account_interface","进入记账备注界面"),
    SaveAccountingNotes("Save_accounting_notes","保存记账备注"),
    ToViewTheListOfSeveralImmediately("To_view_the_list_of_several_immediately","立即查看走镖列表"),
    CheckOutTheLoanListImmediately("Check_out_the_loan_list_immediately","立即查看借出款列表"),
    ImportLoanFromTheAddressBookInformation("Import_loan_from_the_address_book_information","从通讯录导入借出款信息"),
    OpenTheLendingMoneyToRemind("Open_the_lending_money_to_remind","打开借出款收钱提醒"),
    ClosedLoanMoneyReminder("Closed_loan_money_reminder","关闭借出款收钱提醒");





    // 定义私有变量
    private String eventID;
    private String descript;

    // 构造函数，枚举类型只能为私有
    MobEvent(String eventID, String descript) {
        this.eventID = eventID;
        this.descript = descript;
    }

    public String getEventID() {
        return eventID;
    }

    public MobEvent setEventID(String eventID) {
        this.eventID = eventID;
        return this;
    }

    public String getDescript() {
        return descript;
    }

    public MobEvent setDescript(String descript) {
        this.descript = descript;
        return this;
    }

    //用于导入友盟事件
    public static String getUMMobEvent() {
        MobEvent messagesTypes[] = MobEvent.values();
        StringBuilder stringBuilder = new StringBuilder();
        for (int i = 0; i < messagesTypes.length; i++) {
            MobEvent mt = messagesTypes[i];
            stringBuilder.append(mt.getEventID() + "," + mt.getDescript() + ",0\n");
        }
        return stringBuilder.toString();
    }

}
